package com.message.info;

import lombok.Data;
import lombok.ToString;

import javax.mail.internet.InternetAddress;
import java.io.Serializable;

@Data
@ToString
public class MailInfo implements Serializable {

    private InternetAddress from;

    private InternetAddress[] to;

    private InternetAddress[] cc;

    private InternetAddress[] bcc;

    private String subject;

    private String text;


}
